//
//  UITableViewCell+HDChatListCell.h
//  app
//
//  Created by D on 15/5/18.
//  Copyright (c) 2015年 hdaren. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HDChatListModel.h"


@protocol HDChatListCellDelegate <NSObject>

-(void)reloadWithPmids:(NSMutableArray *)pmids;

@end


@interface  HDChatListCell : UITableViewCell

@property (nonatomic,strong) NSString * uid;
@property (nonatomic,strong) NSString * pmid;
@property (nonatomic,strong) UILabel * name;
@property (nonatomic,strong) UILabel * lastTalk;
@property (nonatomic,strong) UIImageView * face;
@property (nonatomic,strong) UILabel * timeLab;
@property (nonatomic,strong) UIImageView * redPoint;
@property (nonatomic,strong) NSString * fuid;
@property (nonatomic,strong) NSString * faceurl;
@property (nonatomic,strong) NSString * fName;
@property (nonatomic,strong) id<HDChatListCellDelegate>delegate;

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier userId:(NSString*)uid;
-(void)cellWithModel:(HDChatListModel*)model withTempPmid:(NSMutableArray*)tempPmids;

@end
